<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="${pageContext.request.contextPath }/WebFront/css/onbook.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/WebFront/css/font-awesome.min.css">
	<script src="${pageContext.request.contextPath }/WebFront/js/jquery.min.js" type="text/javascript"></script>
    <title>Document</title>
</head>
<body>
    <div class="onbook">  
    	<div class="title">
            <h1>
				新书上架
			</h1>
		</div>
		
        <form name="onbook" action="${pageContext.request.contextPath }/book/onbook" method="post">
            <div class="d2">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                ISBN:&nbsp;&nbsp;&nbsp;<input type="text" name="ISBN"  required="required" >
            </div>
            <div class="d3">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                售价:&nbsp;&nbsp;<input type="text" name="price" required="required">
            </div>
            <div class="d4">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 库存:&nbsp;&nbsp;<input type="text" name="stock" required="required">
            </div>
            <div  class="d5">
                类型:
                <input type="checkbox" name="type" value="fiction">小说
                <input type="checkbox" name="type" value="literature">文学
                <input type="checkbox" name="type" value="history">历史
                <br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="checkbox" name="type" value="biography">传记
                <input type="checkbox" name="type" value="youth">青春
                <input type="checkbox" name="type" value="inspirational">励志
                <input type="checkbox" name="type" value="socialScience">社科
                <br>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="checkbox" name="type" value="psychology">心理
                <input type="checkbox" name="type" value="economy">经济
                <input type="checkbox" name="type" value="management">管理
                <input type="checkbox" name="type" value="financialManagement">理财
            </div> 
            <div class="d6">
                区域:
                <input type="checkbox" name="zone" value="China">中国
                <input type="checkbox" name="zone" value="EuropeAndAmerica">欧美
                <input type="checkbox" name="zone" value="Japan">日本
            </div>
            <div class="d7">
                 其他:
                <input type="radio" name="perm" value="Special">特价
                <input type="radio" name="perm" value="Free">免费
                <input type="radio" name="perm" value="VIP">VIP
			</div>
            <div class="d8">
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 简介:&nbsp;&nbsp;<input type="textarea" name="brief">
            </div>
            <br>
            <div class="d10">
                <%--  onclick="onBook();" --%>
                <button type="submit" >
                 提交
                </button>
            </div>
        </form>
        下架:
        <form action="${pageContext.request.contextPath }/book/downbook" method="post">
            <div class="d1">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                内部编码:&nbsp;&nbsp;&nbsp;<input type="text" name="inencoding"  required="required" >
            </div>
            <div class="d10">
                <%--  onclick="onBook();" --%>
                <button type="submit" >
                    下架
                </button>
            </div>
        </form>
    </div>
</body>
</html>